Etn\Core\Woocommerce\Hooks D

Total Complexity 412
Dependencies 8
Dependents 1
Total lines 2,363
Lines of code 1,561
Logical lines of code 949
Comment lines 346
Methods 53
Properties 2

Methods 53

Method Rating Maintainability Complexity Lines of code
validate_add_to_cart_item()
D
27
38 124
insert_attendee_before_add_to_cart()
D
29 34 104
process_all_once_order_created()
D
27
32 125
validate_min_max_qty_before_order_submit()
D
32 31 93
update_event_stock_on_order_status_update()
C
32 30 99
update_event_revenue_on_refunded()
A
45 13 40
redirect_success_page()
A
43 12 47
show_cart_item_name()
A
44 12 42
etn_woo_cart_coupon_validation()
A
43 11 48
eventin_order_update()
A
46 9 42
etn_woo_coupon_count_adjustment()
A
49 8 28
etn_woo_coupon_markup()
A
48 7 36
disable_undo_notice_for_events()
A
53 8 20
etn_redirect_checkout_add_cart()
A
54 8 19
etn_order_page_metabox_callback()
S
44 6 45
review_stock_with_cart_quantity()
S
50 7 28
booked_seats()
S
52 7 24
change_purchase_report_status_on_order_status_update()
S
46 6 37
remove_product_from_cart()
S
56 7 18
modify_order_data()
S
53 6 24
Init()
S
41 4 53
show_event_ticket_variation_details()
S
54 6 21
hide_checkout_fields()
S
55 6 19
add_cart_item_data()
S
56 6 17
hide_order_itemmeta()
S
62 6 11
etn_woo_cart_order_processed()
S
51 5 24
show_zoom_events_details()
S
55 5 21
order_again_custom_meta()
S
56 5 18
etn_total_variation_price()
S
55 5 17
set_cart_total()
S
60 5 12
change_attendee_payment_status_on_order_status_update()
S
61 5 12
save_cart_item_data()
S
56 4 19
email_attendee_ticket_details_on_order_status_update()
S
58 4 16
wc_cart_item_quantity()
S
68 5 6
attatch_eventin_order_id()
S
60 4 13
search_array_by_value()
S
63 4 11
etn_order_page_metabox_init()
S
53 3 25
remove_attendee()
S
55 3 21
etn_checkout_callback()
S
56 3 19
before_checkout_check_stock()
S
56 3 19
before_cart_check_stock()
S
57 3 16
init_woocommerce()
S
65 4 9
before_submit_order_check_stock()
S
59 3 14
etn_woo_coupon_save_options()
S
55 2 19
add_cart_item()
S
56 2 17
etn_woocommerce_product_get_price()
S
66 3 8
etn_checkout_total_ticket_qty()
S
67 3 7
etn_order_page_table_css()
S
64 2 14
etn_woo_coupon_script()
S
65 2 12
email_zoom_event_details_on_order_status_update()
S
64 2 11
add_new_product_type_for_stripe_payment()
S
77 1 4
get_ticket_price()
S
80 1 3
hide_order_itemmeta_on_order_status_update()
S
65 1 10